//
//  LFBHomeSearchFlowLayout.m
//  loveFreshBeen
//
//  Created by Feng on 2017/7/13.
//  Copyright © 2017年 feng. All rights reserved.
//

#import "LFBHomeSearchFlowLayout.h"

@implementation LFBHomeSearchFlowLayout

- (void)prepareLayout
{
    [super prepareLayout];
    
    CGFloat itemWidth = (ScreenWidth - Margin * 3) / 2;
    
    self.itemSize = CGSizeMake(itemWidth, 342);
    self.minimumLineSpacing = Margin;
    self.minimumInteritemSpacing = Margin;
    self.scrollDirection = UICollectionViewScrollDirectionVertical;
}

@end
